package com.gwd.task.services;

import com.gwd.task.entity.ProjectEntity;
import com.gwd.task.entity.ProjectNumEntity;

import java.util.List;

/**
 * @author zhiyongming
 * @date 2020/12/3 10:48
 */
public interface ProjectNumServer {

    String getEvent(Long projectId);
    String getTest(Long projectId);
    String getTask(Long projectId);

    String getProductionEventsTask(Long projectId, String code);

    String getTaskCode(Long projectId, String code);

    String getTestCode(Long projectId, String code);

    void saveByProject(ProjectEntity projectEntity);

    ProjectNumEntity findByProject(Long projectId);

    List<ProjectNumEntity> findByProjectIdList(List<Long> ids);

}
